Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make user:report command scale #27099

Merged
merged 1 commit into from
May 26, 2021
Merged

Conversation

nickvergessen
Copy link
Member

Signed-off-by: Joas Schilling coding@schilljs.com

'count-dirs',
null,
InputOption::VALUE_NONE,
'Also count the number of user directories in the database (could time out on huge installations, there for defaults to no with 500+ users)'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'Also count the number of user directories in the database (could time out on huge installations, there for defaults to no with 500+ users)'
'Also count the number of user directories in the database (could time out on huge installations, therefore defaults to no with 500+ users)'

$rows[] = [' '];
$rows[] = ['user directories', $userDirectoryCount];

if ($total <= 500 || $input->getOption('count-dirs')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

preferably in a const, but ok.

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CS not happy, but code looks good 👍

@MorrisJobke MorrisJobke mentioned this pull request May 26, 2021
98 tasks
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/make-user-report-scale branch from 0e3b20b to f9b407d Compare May 26, 2021 09:33
@skjnldsv skjnldsv merged commit 8b0ce8c into master May 26, 2021
@skjnldsv skjnldsv deleted the bugfix/noid/make-user-report-scale branch May 26, 2021 13:18
@MorrisJobke
Copy link
Member

@nickvergessen Backport down to 20?

@nickvergessen
Copy link
Member Author

I guess it's fine

@MorrisJobke
Copy link
Member

/backport to stable21

@MorrisJobke
Copy link
Member

/backport to stable20

@backportbot-nextcloud
Copy link

The backport to stable21 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

@nickvergessen
Copy link
Member Author

/backport to stable21

@nickvergessen
Copy link
Member Author

/backport to stable20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants